Skip to content

ci: run workspace tests and lint on PRs (DEV-41) - #1

Merged
developjik merged 10 commits into
mainfrom
ci/dev-41-tests
Nov 24, 2026
Merged

developjik merged 10 commits into
mainfrom
ci/dev-41-tests

Conversation

@developjik

@developjik developjik commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

PR과 main push에서 npm ci → npm test → npm run lint를 실행합니다. package-lock.json을 추가하고 Claude 인증·유료 실행은 CI에서 제외했습니다.

CLI가 없는 환경에서도 manifest·이름 오류를 FAIL로 처리하도록 dry-run 검증 순서를 수정했습니다. 누락 manifest 회귀 테스트도 FAIL만 허용합니다. lint는 개별 구문 오류와 파일 탐색 오류 모두 실패로 전달합니다. lint는 기존 Unix 명령에 더해 Bash가 필요하며 Ubuntu CI에서 검증했습니다.

검증: plugin-builder192 + plugin-eval26 = 218 테스트, 정상 lint 통과. 고의 테스트 실패를 실제 PR에 게시해 CI red를 확인한 뒤 제거했습니다. 구문 오류 lint exit123, 탐색 디렉터리 오류 exit1도 로컬 확인했습니다.

저장소 소유자 승인 후 main-ci-required 규칙을 Active로 설정했습니다. main만 대상이고 GitHub Actions의 test를 필수로 하며 우회 목록은 비었습니다. 승인 인원·배포 설정과 다른 규칙은 변경하지 않았습니다. 필수 검사 실패 시 병합 차단 화면을 확인하고 정상 테스트로 복원했습니다. 최종 검사를 통과한 커밋만 병합합니다.

DEV-41의 plugin-tools 부분이며 skelekit PR5와 함께 완료 조건을 검증합니다.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T03:33:52.278917Z f20b0c5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 2 new potential issues.

Devin Review

Comment thread plugins/plugin-builder/package.json Outdated
"scripts": {
"test": "node --test build/tests/*.test.js",
"lint": "node --check bin/plugin-builder && find build/core build/adapters -name '*.js' -exec node --check {} \\;"
"lint": "node --check bin/plugin-builder && find build/core build/adapters -name '*.js' -print0 | xargs -0 -n 1 node --check"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 파일 탐색 오류가 린트 성공에 가려짐

대상 디렉터리 하나를 읽지 못해도 나머지 파일이 문법 검사를 통과하면 린트는 성공으로 끝납니다. 파이프라인이 find의 실패를 종료 상태에 반영하지 않기 때문입니다.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

Devin Review

"scripts": {
"test": "node --test build/tests/*.test.js",
"lint": "node --check bin/plugin-builder && find build/core build/adapters -name '*.js' -exec node --check {} \\;"
"lint": "node --check bin/plugin-builder && bash -o pipefail -c \"find build/core build/adapters -name '*.js' -print0 | xargs -0 -n 1 node --check\""

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Info: 로컬 린트에 Bash 필요

Ubuntu CI와 달리, Bash가 없는 로컬 환경에서는 find와 xargs가 있어도 린트가 소스 검사에 들어가지 못합니다.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@developjik
developjik merged commit b90355d into main Nov 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant